package com.cyc.quick.pojo.vo;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author chenyunchang
 * @since 2021-01-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "UserInfoVO对象", description = "UserInfoVO对象")
public class UserInfoVO extends Model<UserInfoVO> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "性别 0: 女, 1: 男")
    private Integer sex;

    @ApiModelProperty(value = "身份证号")
    private String idNo;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "手机号")
    private String phone;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
